﻿using System.Windows;
using System.Windows.Shapes;
using Drawer.Common;
using System;

namespace Drawer.Shapes
{
    
    class FEllipse : BaseShape
    {
        public override Shape GetShape()
        {
            Ellipse newEllipse = new Ellipse();
            newEllipse.Width = Dimension.Width;
            newEllipse.Height = Dimension.Height;
            newEllipse.Margin = new Thickness(StartPoint.X, StartPoint.Y, 0, 0);
            newEllipse.Stroke = OutlineColor;
            newEllipse.Fill = FillColor;
            newEllipse.StrokeThickness = StrokeSize;

            return newEllipse;
        }
    }
}
